#ifndef AIBOSERVER_H
#define AIBOSERVER_H

#include <QObject>
#include <QtNetwork/QtNetwork>

class AiboServer : public QObject
{
    Q_OBJECT
public:
    explicit AiboServer(QObject *parent = 0);
    
signals:
    
public slots:
    void serverMenuConnection();
    void serverWalkConnection();
    void serverHeadConnection();
    void serverBehaviorConnection();
    void serverJointMonitorConnection();
    void clientMenuMessage();
    void clientWalkMessage();
    void clientHeadMessage();
    void clientBehaviorMessage();
    void clientJointMonitorMessage();

private:
    QTcpServer* m_serverMenu;
    QTcpSocket* m_clientMenu;

    QTcpServer* m_serverWalk;
    QTcpSocket* m_clientWalk;

    QTcpServer* m_serverHead;
    QTcpSocket* m_clientHead;

    QTcpServer* m_serverBehavior;
    QTcpSocket* m_clientBehavior;

    QTcpServer* m_serverJointMonitor;
    QTcpSocket* m_clientJointMonitor;
};

#endif // AIBOSERVER_H
